package com.biconn.bigdata.es.model;
/*package com.biconn.bigdata.es.scrapy.document;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldIndex;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Document(indexName = "scrapy_article_index", type = "article", shards = 5, replicas = 1, indexStoreType = "fs", refreshInterval = "1")
public class Article {
	
	
	 * 爬虫文章数据ES结构
	
	@SuppressWarnings("unused")
	private static final long serialVersionUID = 1L;
	
	 * id
	
	@Id
	private Long id;
	
	 * 文章标题
	
	private String articleTitle;
	
	 * 文章来源
	
	private String articleSource;
	
	 * 文章内容
	
	private String articleContent;
	
	 * 过滤结果
	
	private String articleFilterResult;
	
	 * 文章url
	
	private String articleUrl;
	
	 * 文章作者
	
	private String articleAuthor;
	
	@Field(format = DateFormat.date_time, index = FieldIndex.no, store = true, type = FieldType.Object)
	private Date createDate;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getArticleTitle() {
		return articleTitle;
	}

	public void setArticleTitle(String articleTitle) {
		this.articleTitle = articleTitle;
	}

	public String getArticleSource() {
		return articleSource;
	}

	public void setArticleSource(String articleSource) {
		this.articleSource = articleSource;
	}

	public String getArticleContent() {
		return articleContent;
	}

	public void setArticleContent(String articleContent) {
		this.articleContent = articleContent;
	}

	public String getArticleFilterResult() {
		return articleFilterResult;
	}

	public void setArticleFilterResult(String articleFilterResult) {
		this.articleFilterResult = articleFilterResult;
	}

	public String getArticleUrl() {
		return articleUrl;
	}

	public void setArticleUrl(String articleUrl) {
		this.articleUrl = articleUrl;
	}

	public String getArticleAuthor() {
		return articleAuthor;
	}

	public void setArticleAuthor(String articleAuthor) {
		this.articleAuthor = articleAuthor;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	
}
*/